# HG changeset patch # User ymh # Date 1723666094 -7200 # Node ID 640fb0f130222ea1bee6784c15e58d01b73ee7a4 # Parent 26faef513d90f8e340406616897e7065342c4f34 server and docker migration diff -r 26faef513d90 -r 640fb0f13022 .env.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.env.tmpl Wed Aug 14 22:08:14 2024 +0200 @@ -0,0 +1,5 @@ +DEBUG=True +SECRET_KEY= +GITHUB_CLIENT_ID= +GITHUB_CLIENT_SECRET= +BROKER_PASSWORD= diff -r 26faef513d90 -r 640fb0f13022 .envrc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.envrc Wed Aug 14 22:08:14 2024 +0200 @@ -0,0 +1,3 @@ +dotenv_if_exists + +export REGISTRY_PASSWORD=mVHtqMkOFCVPWWaJjZx37PGb9h21FHkk diff -r 26faef513d90 -r 640fb0f13022 .hgignore --- a/.hgignore Wed Jan 29 16:56:04 2020 +0100 +++ b/.hgignore Wed Aug 14 22:08:14 2024 +0200 @@ -10,3 +10,6 @@ src/catedit.egg-info catedit.egg-info sbin/sync/.venv +.env +.envrc +.etchosts diff -r 26faef513d90 -r 640fb0f13022 build.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build.sh Wed Aug 14 22:08:14 2024 +0200 @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" + +pushd $SCRIPTPATH + +podman login -u iri -p "${REGISTRY_PASSWORD}" reg.kevin.srv.iri-research.org + +podman build -f docker/server.dockerfile -t reg.kevin.srv.iri-research.org/iri/catedit_server:latest . + +podman push reg.kevin.srv.iri-research.org/iri/catedit_server:latest + +popd diff -r 26faef513d90 -r 640fb0f13022 compose.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compose.yml Wed Aug 14 22:08:14 2024 +0200 @@ -0,0 +1,65 @@ +services: + + server: + image: catedit_server + build: + context: . + dockerfile: docker/server.dockerfile + depends_on: + broker: service_started + memcached: service_started + environment: + BROKER_URL: amqp://iri:${BROKER_PASSWORD}@broker:5672/catedit + RESULT_BROKER_URL: rpc://iri:${BROKER_PASSWORD}@broker:5672/catedit + MEMCACHED_URL: memcached:11211 + DEBUG: ${DEBUG} + SECRET_KEY: ${SECRET_KEY} + GITHUB_CLIENT_ID : ${GITHUB_CLIENT_ID} + GITHUB_CLIENT_SECRET : ${GITHUB_CLIENT_SECRET} + + + broker: + image: rabbitmq:3-alpine + hostname: catedit_rabbitmq + environment: + RABBITMQ_DEFAULT_USER: iri + RABBITMQ_DEFAULT_PASS: ${BROKER_PASSWORD} + RABBITMQ_DEFAULT_VHOST: catedit + + worker: + image: catedit_server + depends_on: + broker: service_started + memcached: service_started + command: + - celery + - -A + - catedit.celery + - worker + - -c + - "1" + - -l + - info + - -Q + - repo_catedit-dev-testing,repo_mons-categories-prototype,repo_habitabilite-prototype,repo_collaboration-prototype,repo_economie-de-la-contribution,repo_habitabilite-chercheur,repo_explorunivers-habitabilite,repo_catedit-testing + environment: + BROKER_URL: amqp://iri:${BROKER_PASSWORD}@broker:5672/catedit + RESULT_BROKER_URL: rpc://iri:${BROKER_PASSWORD}@broker:5672/catedit + MEMCACHED_URL: memcached:11211 + DEBUG: ${DEBUG} + SECRET_KEY: ${SECRET_KEY} + GITHUB_CLIENT_ID : ${GITHUB_CLIENT_ID} + GITHUB_CLIENT_SECRET: ${GITHUB_CLIENT_SECRET} + CATEDIT_SETTINGS: /code/config.py + BASE_URL: "http://server:8000" + + + memcached: + image: docker.io/memcached + + web: + build: + context: docker + dockerfile: web.dockerfile + ports: + - "443:443" \ No newline at end of file diff -r 26faef513d90 -r 640fb0f13022 docker/Caddyfile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docker/Caddyfile Wed Aug 14 22:08:14 2024 +0200 @@ -0,0 +1,7 @@ +catedit.iri-research.org { + tls internal + + handle /* { + reverse_proxy server:8000 + } +} \ No newline at end of file diff -r 26faef513d90 -r 640fb0f13022 docker/catedit.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docker/catedit.yml Wed Aug 14 22:08:14 2024 +0200 @@ -0,0 +1,11 @@ +uwsgi: + master: 1 + http-socket: :8000 + virtualenv: /code/.venv + processes: 1 + buffer-size: 65535 + log-master: true + die-on-term: true + chdir: /code/ + module: catedit:app + env: CATEDIT_SETTINGS=/code/config.py diff -r 26faef513d90 -r 640fb0f13022 docker/config.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docker/config.py Wed Aug 14 22:08:14 2024 +0200 @@ -0,0 +1,89 @@ +from rdflib import URIRef, RDF, RDFS, Literal +from rdflib.namespace import SKOS +from kombu import Queue +from environs import Env + +env = Env() +env.read_env() # read .env file, if it exists +# Debug and running settings + +HOST = "0.0.0.0" +DEBUG = env.bool("DEBUG", True) + +SERVER_NAME = "catedit.iri-research.org" +BASE_URL = env.str("BASE_URL", "https://catedit.iri-research.org") + +# WTForms settings + +SECRET_KEY = env.str("SECRET_KEY") + +LOGGING_CONFIG = { + "IS_LOGGING": True, + "LOGGING_LEVEL": "DEBUG", + "LOG_FILE_PATH": "-", +} + +CACHE_CONFIG = { + "CACHE_TYPE": "memcached", + "CACHE_KEY_PREFIX": "ctdt", + "CACHE_MEMCACHED_SERVERS" : (env.str('MEMCACHED_URL'),), +} + +# Github repository config +PERSISTENCE_CONFIG = { + "METHOD" : "PersistenceToGithub", + "REPOSITORY_LIST" : [ + "catedit-dev-testing", + "mons-categories-prototype", + "habitabilite-prototype", + "collaboration-prototype", + "economie-de-la-contribution", + "habitabilite-chercheur", + "explorunivers-habitabilite", + "catedit-testing", + ], + "REPOSITORY_OWNER" : "catedit-system", + "CATEGORIES_PATH" : "categories/", + "GITHUB_CLIENT_ID" : env.str("GITHUB_CLIENT_ID"), + "GITHUB_CLIENT_SECRET" : env.str("GITHUB_CLIENT_SECRET") +} + +# Property List +PROPERTY_LIST = { + RDFS.subClassOf.toPython(): { + "descriptive_label_fr": "Sous-classe de", + "descriptive_label_en": "Subclass of", + "object_type": "uriref-category", + "usable_in_editor": True, + "rdflib_class": RDFS.subClassOf, + }, + RDFS.comment.toPython(): { + "descriptive_label_fr": "Commentaire", + "descriptive_label_en": "Comment", + "object_type": "literal", + "usable_in_editor": True, + "rdflib_class": RDFS.comment, + }, + RDFS.Resource.toPython(): { + "descriptive_label_fr": "Ressource", + "descriptive_label_en": "Resource", + "object_type": "uriref-link", + "usable_in_editor": True, + "rdflib_class": RDFS.Resource, + }, + SKOS.related.toPython(): { + "descriptive_label_fr": "En relation avec", + "descriptive_label_en": "Related to", + "object_type": "uriref-category", + "usable_in_editor": True, + "rdflib_class": SKOS.related, + } +} + + +CELERY_BROKER_URL = env.str('BROKER_URL') +CELERY_RESULT_BACKEND = env.str('RESULT_BROKER_URL') +if PERSISTENCE_CONFIG["METHOD"] == "PersistenceToGithub": + CELERY_QUEUES = tuple( + Queue("repo_"+repository, routing_key="task_for_"+repository) for repository in PERSISTENCE_CONFIG["REPOSITORY_LIST"] + ) diff -r 26faef513d90 -r 640fb0f13022 docker/entrypoint.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docker/entrypoint.sh Wed Aug 14 22:08:14 2024 +0200 @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -Eeuo pipefail + +exec "$@" \ No newline at end of file diff -r 26faef513d90 -r 640fb0f13022 docker/requirements.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docker/requirements.txt Wed Aug 14 22:08:14 2024 +0200 @@ -0,0 +1,22 @@ +amqp +celery +Flask +Flask-Cache +Flask-Moment +Flask-RESTful +Flask-WTF +GitHub-Flask +Jinja2 +kombu +pep8 +pylint +python-slugify +pytz +rdflib +requests +six +Unidecode +Werkzeug +WTForms +uWSGI +pylibmc diff -r 26faef513d90 -r 640fb0f13022 docker/server.dockerfile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docker/server.dockerfile Wed Aug 14 22:08:14 2024 +0200 @@ -0,0 +1,42 @@ +# set base image (host OS) +FROM docker.io/python:alpine as base + +ARG DEV=false +ENV PATH="/code/.venv/bin:$PATH" +WORKDIR /code + +FROM base as builder + +ENV POETRY_NO_INTERACTION=1 \ + POETRY_VIRTUALENVS_IN_PROJECT=1 \ + POETRY_VIRTUALENVS_CREATE=1 \ + POETRY_CACHE_DIR=/tmp/poetry_cache + +RUN \ + apk add --no-cache libmemcached zlib && \ + apk add --no-cache musl-dev build-base libmemcached-dev zlib-dev linux-headers + + +# Install Poetry +RUN pip install poetry + +# Install the app +COPY src/pyproject.toml src/poetry.lock ./ +RUN if [ $DEV ]; then \ + poetry install --with dev --no-root && rm -rf $POETRY_CACHE_DIR; \ + else \ + poetry install --without dev --no-root && rm -rf $POETRY_CACHE_DIR; \ + fi + +FROM base as runtime + +RUN apk add --no-cache libmemcached zlib bash + +COPY --from=builder /code/.venv /code/.venv +COPY src/catedit /code/catedit +COPY docker/catedit.yml /code/ +COPY docker/config.py /code/ +ENV CATEDIT_SETTINGS=/code/config.py + + +CMD ["uwsgi", "--yaml", "/code/catedit.yml"] \ No newline at end of file diff -r 26faef513d90 -r 640fb0f13022 docker/web.dockerfile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docker/web.dockerfile Wed Aug 14 22:08:14 2024 +0200 @@ -0,0 +1,10 @@ +FROM docker.io/caddy:builder AS builder + +RUN xcaddy build \ + --with github.com/BadAimWeeb/caddy-uwsgi-transport + +FROM docker.io/caddy:latest + +COPY --from=builder /usr/bin/caddy /usr/bin/caddy +COPY Caddyfile /etc/caddy/Caddyfile + diff -r 26faef513d90 -r 640fb0f13022 src/catedit/__init__.py --- a/src/catedit/__init__.py Wed Jan 29 16:56:04 2020 +0100 +++ b/src/catedit/__init__.py Wed Aug 14 22:08:14 2024 +0200 @@ -3,19 +3,30 @@ module main file used to configure the Flask app """ -from logging import FileHandler, Formatter import os import re +import sys +import logging +from logging import FileHandler, Formatter, StreamHandler + +import werkzeug +from requests import request +from werkzeug.utils import import_string + from catedit.version import CURRENT_VERSION -from requests import request -from flask import has_request_context, Flask, session, request, url_for, g -from flask_wtf.csrf import CsrfProtect -from flask.ext.github import GitHub -from flask.ext.cache import Cache -from flask.ext.restful import Api -from flask.ext.moment import Moment +werkzeug.import_string = import_string + +from urllib.request import HTTPHandler, OpenerDirector, Request, install_opener + from celery import Celery +from flask import Flask, g, has_request_context, request, session, url_for +from flask_caching import Cache +from flask_github import GitHub +from flask_moment import Moment +from flask_restful import Api +from flask_wtf.csrf import CSRFProtect + from catedit.settings import AppSettings @@ -37,10 +48,49 @@ if not app_configured: raise Exception("Catedit not configured") +# Set up logging +if app.config["LOGGING_CONFIG"]["IS_LOGGING"]: + + logfilepath = app.config["LOGGING_CONFIG"]["LOG_FILE_PATH"] + handler = StreamHandler(sys.stdout) + if logfilepath and logfilepath != "-": + handler = FileHandler(filename=logfilepath) + + handler.setFormatter(Formatter( + '%(asctime)s %(levelname)s: %(message)s ' + '[in %(pathname)s:%(lineno)d]', + '%Y-%m-%d %H:%M:%S' + )) + app.logger.addHandler(handler) + app.logger.setLevel(app.config["LOGGING_CONFIG"]["LOGGING_LEVEL"]) + +logger = logging.getLogger(__name__); + +# class SecuredHTTPHandler(HTTPHandler): +# """ +# """ +# def http_open(self, req: Request): +# """ +# Block access to some URLs". + +# :param req: The request to open. +# :return: The response. +# :raises PermissionError: If the URL ends with "blocked.jsonld". +# """ +# logger.error("OPENED URL : " + req.get_full_url()) +# if req.get_full_url().startswith("http://www.w3.org/1999/02/22-rdf-syntax-ns"): +# raise PermissionError("Permission denied for URL") +# return super().http_open(req) + +# opener = OpenerDirector() +# opener.add_handler(SecuredHTTPHandler()) +# install_opener(opener) + + cache = Cache(app, config=app.config["CACHE_CONFIG"]) # CSRF protection -csrf = CsrfProtect(app) +csrf = CSRFProtect(app) # Github app.config["GITHUB_CLIENT_ID"] = app.config["PERSISTENCE_CONFIG"].get( @@ -104,7 +154,7 @@ item["url"] = resource if session["pagination_links"].get("next", None) is not None: page_arg = re.search( - "(\?|&)page=(\d+)", + "(\\?|&)page=(\\d+)", string=session["pagination_links"]["next"]["url"] ) session["pagination_links"]["current_page"] = int( @@ -112,7 +162,7 @@ )-1 if session["pagination_links"].get("last", None) is not None: last_page_arg = re.search( - "(\?|&)page=(\d+)", + "(\\?|&)page=(\\d+)", string=session["pagination_links"]["last"]["url"] ) session["pagination_links"]["last_page"] = int( @@ -126,7 +176,7 @@ elif session["pagination_links"].get("prev", None) is not None: # This means we're at the last page page_arg = re.search( - "(\?|&)page=(\d+)", + "(\\?|&)page=(\\d+)", string=session["pagination_links"]["prev"]["url"] ) session["pagination_links"]["current_page"] = int( @@ -139,6 +189,14 @@ session["pagination_links"]["last_page"] = 1 else: session.pop("pagination_links", None) + +@app.before_request +def make_session_permanent(): + """_summary_ + Make session permanent + """ + session.permanent = True + # Api api = Api(app) @@ -146,9 +204,10 @@ # Version app.config["CURRENT_VERSION"] = CURRENT_VERSION +from catedit.resources import CategoryAPI, CategoryChangesAPI # Views and APIs -from catedit.views import home, categories, social, meta -from catedit.resources import CategoryAPI, CategoryChangesAPI +from catedit.views import categories, home, meta, social + app.register_blueprint(home.module) app.register_blueprint(categories.module, url_prefix='/cat') app.register_blueprint(social.module, url_prefix='/social') @@ -182,18 +241,7 @@ return url_for(request.endpoint, **args) app.jinja_env.globals['url_for_other_per_page'] = url_for_other_per_page -# Set up logging -if app.config["LOGGING_CONFIG"]["IS_LOGGING"]: - file_handler = FileHandler(filename=app.config["LOGGING_CONFIG"] - ["LOG_FILE_PATH"]) - file_handler.setFormatter(Formatter( - '%(asctime)s %(levelname)s: %(message)s ' - '[in %(pathname)s:%(lineno)d]', - '%Y-%m-%d %H:%M:%S' - )) - app.logger.addHandler(file_handler) - app.logger.setLevel(app.config["LOGGING_CONFIG"]["LOGGING_LEVEL"]) # Session management +app.secret_key = app.config["SECRET_KEY"] -app.secret_key = app.config["SECRET_KEY"] diff -r 26faef513d90 -r 640fb0f13022 src/catedit/models.py --- a/src/catedit/models.py Wed Jan 29 16:56:04 2020 +0100 +++ b/src/catedit/models.py Wed Aug 14 22:08:14 2024 +0200 @@ -10,7 +10,7 @@ import logging from uuid import uuid4 -from rdflib import Graph, RDF, RDFS, Literal +from rdflib import Graph, RDF, RDFS, Literal, URIRef from rdflib.compare import to_isomorphic, graph_diff from slugify import slugify @@ -41,7 +41,7 @@ cat_id = slugify(label)+"_"+str(uuid4())[:8] self.cat_graph = Graph() self.this_category = app.config["CATEGORY_NAMESPACE"][cat_id] - self.cat_graph.add((self.this_category, RDF.ID, Literal(cat_id))) + self.cat_graph.add((self.this_category, URIRef("http://www.w3.org/1999/02/22-rdf-syntax-ns#ID"), Literal(cat_id))) if label: self.cat_graph.add( @@ -49,7 +49,7 @@ ) if description: self.cat_graph.add( - (self.this_category, RDF.Description, Literal(description)) + (self.this_category, URIRef("http://www.w3.org/1999/02/22-rdf-syntax-ns#Description"), Literal(description)) ) if other_properties: @@ -59,7 +59,7 @@ else: self.cat_graph = graph # Warning: not foolproof, if loading a Graph with multiple IDs (should not happen) - self.this_category = next(self.cat_graph.subjects(predicate=RDF.ID)) + self.this_category = next(self.cat_graph.subjects(predicate=URIRef("http://www.w3.org/1999/02/22-rdf-syntax-ns#ID"))) @property def label(self): @@ -78,7 +78,7 @@ Returns category description """ return_value = \ - self.cat_graph.value(self.this_category, RDF.Description) + self.cat_graph.value(self.this_category, URIRef("http://www.w3.org/1999/02/22-rdf-syntax-ns#Description")) if return_value is None: return None else: @@ -89,7 +89,7 @@ """ Returns category id """ - return self.cat_graph.value(self.this_category, RDF.ID).toPython() + return self.cat_graph.value(self.this_category, URIRef("http://www.w3.org/1999/02/22-rdf-syntax-ns#ID")).toPython() @property def properties(self): @@ -99,9 +99,9 @@ return [ predicate_object_tuple for predicate_object_tuple in self.cat_graph.predicate_objects() if ( - predicate_object_tuple[0]!=RDF.ID and + predicate_object_tuple[0]!=URIRef("http://www.w3.org/1999/02/22-rdf-syntax-ns#ID") and predicate_object_tuple[0]!=RDFS.label and - predicate_object_tuple[0]!=RDF.Description + predicate_object_tuple[0]!=URIRef("http://www.w3.org/1999/02/22-rdf-syntax-ns#Description") ) ] @@ -122,7 +122,7 @@ (new_label != self.label): self.cat_graph.remove((self.this_category, RDFS.label, - self.cat_graph.label(self.this_category))) + self.label)) self.cat_graph.add((self.this_category, RDFS.label, Literal(new_label))) @@ -130,17 +130,17 @@ if (new_description != "") and \ (new_description != self.description): self.cat_graph.remove((self.this_category, - RDF.Description, + URIRef("http://www.w3.org/1999/02/22-rdf-syntax-ns#Description"), self.cat_graph.value(self.this_category, - RDF.Description))) + URIRef("http://www.w3.org/1999/02/22-rdf-syntax-ns#Description")))) self.cat_graph.add((self.this_category, - RDF.Description, + URIRef("http://www.w3.org/1999/02/22-rdf-syntax-ns#Description"), Literal(new_description))) if new_other_properties is not None and \ (new_other_properties != self.properties): for (predicate, object) in self.cat_graph.predicate_objects(): - if predicate not in [RDF.ID, RDF.Description, RDFS.label]: + if predicate not in [URIRef("http://www.w3.org/1999/02/22-rdf-syntax-ns#ID"), URIRef("http://www.w3.org/1999/02/22-rdf-syntax-ns#Description"), RDFS.label]: self.cat_graph.remove( (self.this_category, predicate, None) ) diff -r 26faef513d90 -r 640fb0f13022 src/catedit/persistence.py --- a/src/catedit/persistence.py Wed Jan 29 16:56:04 2020 +0100 +++ b/src/catedit/persistence.py Wed Aug 14 22:08:14 2024 +0200 @@ -11,9 +11,8 @@ from abc import ABCMeta, abstractmethod from catedit import github, app, log_api_rate from base64 import b64decode -from flask.ext.github import GitHubError +from flask_github import GitHubError import os -import json logger = app.logger @@ -210,7 +209,6 @@ original file list, then it's a new file and we append it to the tree """ - deletion_dict = kwargs["deletion_dict"] modification_dict = kwargs["modification_dict"] @@ -421,7 +419,7 @@ logger.error(ghe.response.text) # Point 6 - new_head_data = {"sha": new_commit[0]["sha"], "force": "true"} + new_head_data = {"sha": new_commit[0]["sha"], "force": True} #TODO: vérifier encoding - logger.debug(str(new_head_data)) try: new_head = github.patch( @@ -429,7 +427,7 @@ + app.config["PERSISTENCE_CONFIG"]["REPOSITORY_OWNER"] + "/" + self.repository + "/git/refs/heads/master", - data=json.dumps(new_head_data), + data=new_head_data, hooks=dict(response=log_api_rate) ) #TODO: vérifier encoding - logger.debug(str(new_head)) diff -r 26faef513d90 -r 640fb0f13022 src/catedit/resources.py --- a/src/catedit/resources.py Wed Jan 29 16:56:04 2020 +0100 +++ b/src/catedit/resources.py Wed Aug 14 22:08:14 2024 +0200 @@ -16,7 +16,7 @@ from flask import session from rdflib import Graph, URIRef, Literal -from flask.ext.restful import Resource, reqparse +from flask_restful import Resource, reqparse logger = app.logger @@ -56,14 +56,14 @@ if cat is not None: rv = cat.cat_graph.serialize( format='turtle' - ).decode("utf-8"), 200 + ), 200 else: rv = 404 else: response = [] for cat in cat_manager_instance.list_categories(): response.append( - cat.cat_graph.serialize(format='turtle').decode("utf-8") + cat.cat_graph.serialize(format='turtle') ) rv = response, 200 # Cache operations @@ -157,10 +157,9 @@ cat.edit_category(new_description=cat_data["description"], new_label=cat_data["label"], new_other_properties=new_property_list) + - session.setdefault("modified_categories", {}).setdefault(repository, {})[cat.cat_id] = str( - cat.cat_graph.serialize(format="turtle"), "utf-8" - ) + session.setdefault("modified_categories", {}).setdefault(repository, {})[cat.cat_id] = cat.cat_graph.serialize(format="turtle") # Now we must clean the deleted categories list in case the # modified category was deleted before being edited @@ -207,15 +206,11 @@ other_properties=property_list ) - - if cat.cat_id not in session.setdefault("modified_categories", {}).setdefault(repository, {}): - session.setdefault("modified_categories", {}).setdefault(repository, {})[cat.cat_id] = str( - cat.cat_graph.serialize(format="turtle"), "utf-8" - ) + session.setdefault("modified_categories", {}).setdefault(repository, {})[cat.cat_id] = cat.cat_graph.serialize(format="turtle") return cat.cat_id, \ - cat.cat_graph.serialize(format='turtle').decode("utf-8"), \ + cat.cat_graph.serialize(format='turtle'), \ 201 def delete(self, repository, deleted_cat_id): @@ -288,11 +283,7 @@ ) session["modified_categories"] \ [repository] \ - [modified_cat.cat_id] = str( - modified_cat.cat_graph - .serialize(format="turtle"), - "utf-8" - ) + [modified_cat.cat_id] = modified_cat.cat_graph.serialize(format="turtle") # now we check if an unmodified category reference the deleted # category @@ -317,10 +308,7 @@ cat.edit_category( new_other_properties=new_property_list ) - session.setdefault("modified_categories", {}).setdefault(repository, {})[cat.cat_id] = str( - cat.cat_graph.serialize(format="turtle"), - "utf-8" - ) + session.setdefault("modified_categories", {}).setdefault(repository, {})[cat.cat_id] = cat.cat_graph.serialize(format="turtle") return 204 diff -r 26faef513d90 -r 640fb0f13022 src/catedit/settings.py --- a/src/catedit/settings.py Wed Jan 29 16:56:04 2020 +0100 +++ b/src/catedit/settings.py Wed Aug 14 22:08:14 2024 +0200 @@ -20,3 +20,4 @@ CELERY_RESULT_SERIALIZER = 'json' CELERY_ACCEPT_CONTENT = ['json', 'msgpack', 'yaml'] CELERY_DISABLE_RATE_LIMITS = True + SESSION_PROTECTION = "strong" diff -r 26faef513d90 -r 640fb0f13022 src/catedit/tasks.py --- a/src/catedit/tasks.py Wed Jan 29 16:56:04 2020 +0100 +++ b/src/catedit/tasks.py Wed Aug 14 22:08:14 2024 +0200 @@ -27,7 +27,7 @@ message=message ) registry_key = "categories_"+repository+"_keys" - r = requests.post(app.config['BASE_URL']+"/meta/cache-clear/"+registry_key) + r = requests.post(app.config['BASE_URL']+"/meta/cache-clear/"+registry_key, verify=False, headers={ "HOST": app.config['SERVER_NAME'] }) #r = requests.post(app.config['BASE_URL']+"/meta/cache-clear") try: r.raise_for_status() diff -r 26faef513d90 -r 640fb0f13022 src/catedit/templates/categories/editor.html --- a/src/catedit/templates/categories/editor.html Wed Jan 29 16:56:04 2020 +0100 +++ b/src/catedit/templates/categories/editor.html Wed Aug 14 22:08:14 2024 +0200 @@ -48,7 +48,7 @@

{% if cat_id: %} Edition : Catégorie existante{% else %}Création : Nouvelle catégorie{% endif %}

{% if readonly %}
{% endif %}
- {{ form.hidden_tag() }} + {% if form.hidden_tag %}{{ form.hidden_tag() }}{% endif %} {% if form.label.errors %} {% set label_placeholder="Champ obligatoire" %} {% endif %} diff -r 26faef513d90 -r 640fb0f13022 src/catedit/templates/categories/submit.html --- a/src/catedit/templates/categories/submit.html Wed Jan 29 16:56:04 2020 +0100 +++ b/src/catedit/templates/categories/submit.html Wed Aug 14 22:08:14 2024 +0200 @@ -48,7 +48,7 @@
- {{ commit_form.hidden_tag() }} + {% if commit_form.hidden_tag %}{{ commit_form.hidden_tag() }}{%endif %}
{{ commit_form.commit_message.label }} {{ commit_form.commit_message(size=40, class="form-control", readonly=readonly) }} diff -r 26faef513d90 -r 640fb0f13022 src/catedit/templates/social/comment_thread_layout.html --- a/src/catedit/templates/social/comment_thread_layout.html Wed Jan 29 16:56:04 2020 +0100 +++ b/src/catedit/templates/social/comment_thread_layout.html Wed Aug 14 22:08:14 2024 +0200 @@ -65,7 +65,7 @@
- {{ comment_form.hidden_tag() }} + {% if comment_form.hidden_tag %}{{ comment_form.hidden_tag() }}{% endif %}
{{ comment_form.comment_field(class="form-control", readonly=readonly) }}
diff -r 26faef513d90 -r 640fb0f13022 src/catedit/templates/social/discussion.html --- a/src/catedit/templates/social/discussion.html Wed Jan 29 16:56:04 2020 +0100 +++ b/src/catedit/templates/social/discussion.html Wed Aug 14 22:08:14 2024 +0200 @@ -37,7 +37,7 @@ {% endif %}
- {{ comment_form.hidden_tag() }} + {% if comment_form.hidden_tag %}{{ comment_form.hidden_tag() }}{% endif %}

{{ comment_form.discussion_title.label }} diff -r 26faef513d90 -r 640fb0f13022 src/catedit/utils.py --- a/src/catedit/utils.py Wed Jan 29 16:56:04 2020 +0100 +++ b/src/catedit/utils.py Wed Aug 14 22:08:14 2024 +0200 @@ -12,7 +12,7 @@ from rdflib.compare import to_isomorphic, graph_diff from rdflib.namespace import split_uri -from flask.ext.github import GitHubError +from flask_github import GitHubError logger = logging.getLogger(__name__) @@ -70,7 +70,6 @@ (in_second, rdf_only_in_second) ]: for triple in diff_list.triples((None, None, None)): - logger.debug(triple) if triple[1] == RDFS.label: final_list.append(("label", triple[2].toPython())) elif triple[1] == RDF.Description: diff -r 26faef513d90 -r 640fb0f13022 src/catedit/views/categories.py --- a/src/catedit/views/categories.py Wed Jan 29 16:56:04 2020 +0100 +++ b/src/catedit/views/categories.py Wed Aug 14 22:08:14 2024 +0200 @@ -12,7 +12,7 @@ from catedit.utils import get_property_list from io import StringIO -from flask import render_template, request, redirect, url_for, abort, Blueprint +from flask import render_template, request, redirect, url_for, abort, Blueprint, session from rdflib import Graph from rdflib.namespace import split_uri @@ -64,7 +64,6 @@ check_user_status_and_repo_access(repository) cat_changes_api_instance = CategoryChangesAPI() - logger.debug("deleting changes for cat") cat_changes_api_instance.delete( repository=repository, modified_cat_id=deleted_changes_id @@ -233,13 +232,13 @@ repository=repository, modified_cat_id=cat_id ) - if changes_response[0]["type"] is "deleted": + if changes_response[0]["type"] == "deleted": abort(404) - elif changes_response[0]["type"] is "modified": + elif changes_response[0]["type"] == "modified": specific_serialized_cat = changes_response[0] \ ["category"] \ [cat_id] - elif changes_response[0]["type"] is "untouched": + elif changes_response[0]["type"] == "untouched": category_api_response = cat_api_instance.get( repository=repository, cat_id=cat_id diff -r 26faef513d90 -r 640fb0f13022 src/catedit/views/forms.py --- a/src/catedit/views/forms.py Wed Jan 29 16:56:04 2020 +0100 +++ b/src/catedit/views/forms.py Wed Aug 14 22:08:14 2024 +0200 @@ -2,13 +2,13 @@ forms.py Module that groups custom forms used in CatEdit """ -from flask_wtf import Form +from flask_wtf import FlaskForm from wtforms import StringField, TextAreaField, FormField, \ FieldList, HiddenField from wtforms.validators import DataRequired, Optional -class CommitForm(Form): +class CommitForm(FlaskForm): """ Custom form class for commiting changes """ @@ -18,7 +18,7 @@ ) -class PropertyForm(Form): +class PropertyForm(FlaskForm): """ Form of a given property, each one is a couple of hidden fields that can be Javascript-generated in the template @@ -29,7 +29,7 @@ ) -class CategoryForm(Form): +class CategoryForm(FlaskForm): """ Custom form class for creating a category with the absolute minimal attributes (label and description) @@ -45,7 +45,7 @@ properties = FieldList(FormField(PropertyForm), validators=[Optional()]) -class CommentForm(Form): +class CommentForm(FlaskForm): """ Custom form class for commiting changes """ @@ -54,7 +54,7 @@ validators=[DataRequired()] ) -class NewDiscussionForm(Form): +class NewDiscussionForm(FlaskForm): """ Custom form class for commiting changes """ diff -r 26faef513d90 -r 640fb0f13022 src/catedit/views/home.py --- a/src/catedit/views/home.py Wed Jan 29 16:56:04 2020 +0100 +++ b/src/catedit/views/home.py Wed Aug 14 22:08:14 2024 +0200 @@ -6,7 +6,7 @@ from catedit import app, github, log_api_rate from flask import render_template, redirect, url_for, \ session, Blueprint -from flask.ext.github import GitHubError +from flask_github import GitHubError from base64 import b64decode module = Blueprint('home', __name__) diff -r 26faef513d90 -r 640fb0f13022 src/catedit/views/meta.py --- a/src/catedit/views/meta.py Wed Jan 29 16:56:04 2020 +0100 +++ b/src/catedit/views/meta.py Wed Aug 14 22:08:14 2024 +0200 @@ -23,7 +23,6 @@ else: keys_set = cache.get(registry_key) if keys_set is not None: - logger.debug(keys_set) for key in keys_set: if cache.get(key) is not None: cache.delete(key) diff -r 26faef513d90 -r 640fb0f13022 src/catedit/views/utils.py --- a/src/catedit/views/utils.py Wed Jan 29 16:56:04 2020 +0100 +++ b/src/catedit/views/utils.py Wed Aug 14 22:08:14 2024 +0200 @@ -11,7 +11,7 @@ from catedit.models import Category from catedit.resources import CategoryAPI, CategoryChangesAPI from flask import redirect, url_for, session -from flask.ext.github import GitHubError +from flask_github import GitHubError from datetime import datetime from rdflib import Graph from base64 import b64decode @@ -276,7 +276,6 @@ registry_key = "comments_"+repository+"_keys" keys_set = cache.get(registry_key) if keys_set is not None: - logger.debug(keys_set) for key in keys_set: if cache.get(key) is not None: cache.delete(key) diff -r 26faef513d90 -r 640fb0f13022 src/poetry.lock --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/poetry.lock Wed Aug 14 22:08:14 2024 +0200 @@ -0,0 +1,1017 @@ +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. + +[[package]] +name = "amqp" +version = "5.2.0" +description = "Low-level AMQP client for Python (fork of amqplib)." +optional = false +python-versions = ">=3.6" +files = [ + {file = "amqp-5.2.0-py3-none-any.whl", hash = "sha256:827cb12fb0baa892aad844fd95258143bce4027fdac4fccddbc43330fd281637"}, + {file = "amqp-5.2.0.tar.gz", hash = "sha256:a1ecff425ad063ad42a486c902807d1482311481c8ad95a72694b2975e75f7fd"}, +] + +[package.dependencies] +vine = ">=5.0.0,<6.0.0" + +[[package]] +name = "aniso8601" +version = "9.0.1" +description = "A library for parsing ISO 8601 strings." +optional = false +python-versions = "*" +files = [ + {file = "aniso8601-9.0.1-py2.py3-none-any.whl", hash = "sha256:1d2b7ef82963909e93c4f24ce48d4de9e66009a21bf1c1e1c85bdd0812fe412f"}, + {file = "aniso8601-9.0.1.tar.gz", hash = "sha256:72e3117667eedf66951bb2d93f4296a56b94b078a8a95905a052611fb3f1b973"}, +] + +[package.extras] +dev = ["black", "coverage", "isort", "pre-commit", "pyenchant", "pylint"] + +[[package]] +name = "astroid" +version = "3.2.4" +description = "An abstract syntax tree for Python with inference support." +optional = false +python-versions = ">=3.8.0" +files = [ + {file = "astroid-3.2.4-py3-none-any.whl", hash = "sha256:413658a61eeca6202a59231abb473f932038fbcbf1666587f66d482083413a25"}, + {file = "astroid-3.2.4.tar.gz", hash = "sha256:0e14202810b30da1b735827f78f5157be2bbd4a7a59b7707ca0bfc2fb4c0063a"}, +] + +[[package]] +name = "billiard" +version = "4.2.0" +description = "Python multiprocessing fork with improvements and bugfixes" +optional = false +python-versions = ">=3.7" +files = [ + {file = "billiard-4.2.0-py3-none-any.whl", hash = "sha256:07aa978b308f334ff8282bd4a746e681b3513db5c9a514cbdd810cbbdc19714d"}, + {file = "billiard-4.2.0.tar.gz", hash = "sha256:9a3c3184cb275aa17a732f93f65b20c525d3d9f253722d26a82194803ade5a2c"}, +] + +[[package]] +name = "blinker" +version = "1.8.2" +description = "Fast, simple object-to-object and broadcast signaling" +optional = false +python-versions = ">=3.8" +files = [ + {file = "blinker-1.8.2-py3-none-any.whl", hash = "sha256:1779309f71bf239144b9399d06ae925637cf6634cf6bd131104184531bf67c01"}, + {file = "blinker-1.8.2.tar.gz", hash = "sha256:8f77b09d3bf7c795e969e9486f39c2c5e9c39d4ee07424be2bc594ece9642d83"}, +] + +[[package]] +name = "cachelib" +version = "0.9.0" +description = "A collection of cache libraries in the same API interface." +optional = false +python-versions = ">=3.7" +files = [ + {file = "cachelib-0.9.0-py3-none-any.whl", hash = "sha256:811ceeb1209d2fe51cd2b62810bd1eccf70feba5c52641532498be5c675493b3"}, + {file = "cachelib-0.9.0.tar.gz", hash = "sha256:38222cc7c1b79a23606de5c2607f4925779e37cdcea1c2ad21b8bae94b5425a5"}, +] + +[[package]] +name = "celery" +version = "5.4.0" +description = "Distributed Task Queue." +optional = false +python-versions = ">=3.8" +files = [ + {file = "celery-5.4.0-py3-none-any.whl", hash = "sha256:369631eb580cf8c51a82721ec538684994f8277637edde2dfc0dacd73ed97f64"}, + {file = "celery-5.4.0.tar.gz", hash = "sha256:504a19140e8d3029d5acad88330c541d4c3f64c789d85f94756762d8bca7e706"}, +] + +[package.dependencies] +billiard = ">=4.2.0,<5.0" +click = ">=8.1.2,<9.0" +click-didyoumean = ">=0.3.0" +click-plugins = ">=1.1.1" +click-repl = ">=0.2.0" +kombu = ">=5.3.4,<6.0" +python-dateutil = ">=2.8.2" +tzdata = ">=2022.7" +vine = ">=5.1.0,<6.0" + +[package.extras] +arangodb = ["pyArango (>=2.0.2)"] +auth = ["cryptography (==42.0.5)"] +azureblockblob = ["azure-storage-blob (>=12.15.0)"] +brotli = ["brotli (>=1.0.0)", "brotlipy (>=0.7.0)"] +cassandra = ["cassandra-driver (>=3.25.0,<4)"] +consul = ["python-consul2 (==0.1.5)"] +cosmosdbsql = ["pydocumentdb (==2.3.5)"] +couchbase = ["couchbase (>=3.0.0)"] +couchdb = ["pycouchdb (==1.14.2)"] +django = ["Django (>=2.2.28)"] +dynamodb = ["boto3 (>=1.26.143)"] +elasticsearch = ["elastic-transport (<=8.13.0)", "elasticsearch (<=8.13.0)"] +eventlet = ["eventlet (>=0.32.0)"] +gcs = ["google-cloud-storage (>=2.10.0)"] +gevent = ["gevent (>=1.5.0)"] +librabbitmq = ["librabbitmq (>=2.0.0)"] +memcache = ["pylibmc (==1.6.3)"] +mongodb = ["pymongo[srv] (>=4.0.2)"] +msgpack = ["msgpack (==1.0.8)"] +pymemcache = ["python-memcached (>=1.61)"] +pyro = ["pyro4 (==4.82)"] +pytest = ["pytest-celery[all] (>=1.0.0)"] +redis = ["redis (>=4.5.2,!=4.5.5,<6.0.0)"] +s3 = ["boto3 (>=1.26.143)"] +slmq = ["softlayer-messaging (>=1.0.3)"] +solar = ["ephem (==4.1.5)"] +sqlalchemy = ["sqlalchemy (>=1.4.48,<2.1)"] +sqs = ["boto3 (>=1.26.143)", "kombu[sqs] (>=5.3.4)", "pycurl (>=7.43.0.5)", "urllib3 (>=1.26.16)"] +tblib = ["tblib (>=1.3.0)", "tblib (>=1.5.0)"] +yaml = ["PyYAML (>=3.10)"] +zookeeper = ["kazoo (>=1.3.1)"] +zstd = ["zstandard (==0.22.0)"] + +[[package]] +name = "certifi" +version = "2024.7.4" +description = "Python package for providing Mozilla's CA Bundle." +optional = false +python-versions = ">=3.6" +files = [ + {file = "certifi-2024.7.4-py3-none-any.whl", hash = "sha256:c198e21b1289c2ab85ee4e67bb4b4ef3ead0892059901a8d5b622f24a1101e90"}, + {file = "certifi-2024.7.4.tar.gz", hash = "sha256:5a1e7645bc0ec61a09e26c36f6106dd4cf40c6db3a1fb6352b0244e7fb057c7b"}, +] + +[[package]] +name = "charset-normalizer" +version = "3.3.2" +description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." +optional = false +python-versions = ">=3.7.0" +files = [ + {file = "charset-normalizer-3.3.2.tar.gz", hash = "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:25baf083bf6f6b341f4121c2f3c548875ee6f5339300e08be3f2b2ba1721cdd3"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:06435b539f889b1f6f4ac1758871aae42dc3a8c0e24ac9e60c2384973ad73027"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9063e24fdb1e498ab71cb7419e24622516c4a04476b17a2dab57e8baa30d6e03"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6897af51655e3691ff853668779c7bad41579facacf5fd7253b0133308cf000d"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1d3193f4a680c64b4b6a9115943538edb896edc190f0b222e73761716519268e"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd70574b12bb8a4d2aaa0094515df2463cb429d8536cfb6c7ce983246983e5a6"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8465322196c8b4d7ab6d1e049e4c5cb460d0394da4a27d23cc242fbf0034b6b5"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a9a8e9031d613fd2009c182b69c7b2c1ef8239a0efb1df3f7c8da66d5dd3d537"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:beb58fe5cdb101e3a055192ac291b7a21e3b7ef4f67fa1d74e331a7f2124341c"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:e06ed3eb3218bc64786f7db41917d4e686cc4856944f53d5bdf83a6884432e12"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:2e81c7b9c8979ce92ed306c249d46894776a909505d8f5a4ba55b14206e3222f"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:572c3763a264ba47b3cf708a44ce965d98555f618ca42c926a9c1616d8f34269"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:fd1abc0d89e30cc4e02e4064dc67fcc51bd941eb395c502aac3ec19fab46b519"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-win32.whl", hash = "sha256:3d47fa203a7bd9c5b6cee4736ee84ca03b8ef23193c0d1ca99b5089f72645c73"}, + {file = "charset_normalizer-3.3.2-cp310-cp310-win_amd64.whl", hash = "sha256:10955842570876604d404661fbccbc9c7e684caf432c09c715ec38fbae45ae09"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:802fe99cca7457642125a8a88a084cef28ff0cf9407060f7b93dca5aa25480db"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:573f6eac48f4769d667c4442081b1794f52919e7edada77495aaed9236d13a96"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:549a3a73da901d5bc3ce8d24e0600d1fa85524c10287f6004fbab87672bf3e1e"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f27273b60488abe721a075bcca6d7f3964f9f6f067c8c4c605743023d7d3944f"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1ceae2f17a9c33cb48e3263960dc5fc8005351ee19db217e9b1bb15d28c02574"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:65f6f63034100ead094b8744b3b97965785388f308a64cf8d7c34f2f2e5be0c4"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:753f10e867343b4511128c6ed8c82f7bec3bd026875576dfd88483c5c73b2fd8"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4a78b2b446bd7c934f5dcedc588903fb2f5eec172f3d29e52a9096a43722adfc"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e537484df0d8f426ce2afb2d0f8e1c3d0b114b83f8850e5f2fbea0e797bd82ae"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:eb6904c354526e758fda7167b33005998fb68c46fbc10e013ca97f21ca5c8887"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:deb6be0ac38ece9ba87dea880e438f25ca3eddfac8b002a2ec3d9183a454e8ae"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4ab2fe47fae9e0f9dee8c04187ce5d09f48eabe611be8259444906793ab7cbce"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:80402cd6ee291dcb72644d6eac93785fe2c8b9cb30893c1af5b8fdd753b9d40f"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-win32.whl", hash = "sha256:7cd13a2e3ddeed6913a65e66e94b51d80a041145a026c27e6bb76c31a853c6ab"}, + {file = "charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl", hash = "sha256:663946639d296df6a2bb2aa51b60a2454ca1cb29835324c640dafb5ff2131a77"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:ddbb2551d7e0102e7252db79ba445cdab71b26640817ab1e3e3648dad515003b"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:55086ee1064215781fff39a1af09518bc9255b50d6333f2e4c74ca09fac6a8f6"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8f4a014bc36d3c57402e2977dada34f9c12300af536839dc38c0beab8878f38a"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a10af20b82360ab00827f916a6058451b723b4e65030c5a18577c8b2de5b3389"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8d756e44e94489e49571086ef83b2bb8ce311e730092d2c34ca8f7d925cb20aa"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:90d558489962fd4918143277a773316e56c72da56ec7aa3dc3dbbe20fdfed15b"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ac7ffc7ad6d040517be39eb591cac5ff87416c2537df6ba3cba3bae290c0fed"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:7ed9e526742851e8d5cc9e6cf41427dfc6068d4f5a3bb03659444b4cabf6bc26"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:8bdb58ff7ba23002a4c5808d608e4e6c687175724f54a5dade5fa8c67b604e4d"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:6b3251890fff30ee142c44144871185dbe13b11bab478a88887a639655be1068"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:b4a23f61ce87adf89be746c8a8974fe1c823c891d8f86eb218bb957c924bb143"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:efcb3f6676480691518c177e3b465bcddf57cea040302f9f4e6e191af91174d4"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-win32.whl", hash = "sha256:d965bba47ddeec8cd560687584e88cf699fd28f192ceb452d1d7ee807c5597b7"}, + {file = "charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:96b02a3dc4381e5494fad39be677abcb5e6634bf7b4fa83a6dd3112607547001"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:95f2a5796329323b8f0512e09dbb7a1860c46a39da62ecb2324f116fa8fdc85c"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c002b4ffc0be611f0d9da932eb0f704fe2602a9a949d1f738e4c34c75b0863d5"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a981a536974bbc7a512cf44ed14938cf01030a99e9b3a06dd59578882f06f985"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3287761bc4ee9e33561a7e058c72ac0938c4f57fe49a09eae428fd88aafe7bb6"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:42cb296636fcc8b0644486d15c12376cb9fa75443e00fb25de0b8602e64c1714"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0a55554a2fa0d408816b3b5cedf0045f4b8e1a6065aec45849de2d6f3f8e9786"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:c083af607d2515612056a31f0a8d9e0fcb5876b7bfc0abad3ecd275bc4ebc2d5"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:87d1351268731db79e0f8e745d92493ee2841c974128ef629dc518b937d9194c"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:bd8f7df7d12c2db9fab40bdd87a7c09b1530128315d047a086fa3ae3435cb3a8"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:c180f51afb394e165eafe4ac2936a14bee3eb10debc9d9e4db8958fe36afe711"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:8c622a5fe39a48f78944a87d4fb8a53ee07344641b0562c540d840748571b811"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-win32.whl", hash = "sha256:db364eca23f876da6f9e16c9da0df51aa4f104a972735574842618b8c6d999d4"}, + {file = "charset_normalizer-3.3.2-cp37-cp37m-win_amd64.whl", hash = "sha256:86216b5cee4b06df986d214f664305142d9c76df9b6512be2738aa72a2048f99"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:6463effa3186ea09411d50efc7d85360b38d5f09b870c48e4600f63af490e56a"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:6c4caeef8fa63d06bd437cd4bdcf3ffefe6738fb1b25951440d80dc7df8c03ac"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:37e55c8e51c236f95b033f6fb391d7d7970ba5fe7ff453dad675e88cf303377a"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fb69256e180cb6c8a894fee62b3afebae785babc1ee98b81cdf68bbca1987f33"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ae5f4161f18c61806f411a13b0310bea87f987c7d2ecdbdaad0e94eb2e404238"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b2b0a0c0517616b6869869f8c581d4eb2dd83a4d79e0ebcb7d373ef9956aeb0a"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:45485e01ff4d3630ec0d9617310448a8702f70e9c01906b0d0118bdf9d124cf2"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eb00ed941194665c332bf8e078baf037d6c35d7c4f3102ea2d4f16ca94a26dc8"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:2127566c664442652f024c837091890cb1942c30937add288223dc895793f898"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a50aebfa173e157099939b17f18600f72f84eed3049e743b68ad15bd69b6bf99"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:4d0d1650369165a14e14e1e47b372cfcb31d6ab44e6e33cb2d4e57265290044d"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:923c0c831b7cfcb071580d3f46c4baf50f174be571576556269530f4bbd79d04"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:06a81e93cd441c56a9b65d8e1d043daeb97a3d0856d177d5c90ba85acb3db087"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-win32.whl", hash = "sha256:6ef1d82a3af9d3eecdba2321dc1b3c238245d890843e040e41e470ffa64c3e25"}, + {file = "charset_normalizer-3.3.2-cp38-cp38-win_amd64.whl", hash = "sha256:eb8821e09e916165e160797a6c17edda0679379a4be5c716c260e836e122f54b"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:c235ebd9baae02f1b77bcea61bce332cb4331dc3617d254df3323aa01ab47bd4"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:5b4c145409bef602a690e7cfad0a15a55c13320ff7a3ad7ca59c13bb8ba4d45d"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:68d1f8a9e9e37c1223b656399be5d6b448dea850bed7d0f87a8311f1ff3dabb0"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:22afcb9f253dac0696b5a4be4a1c0f8762f8239e21b99680099abd9b2b1b2269"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e27ad930a842b4c5eb8ac0016b0a54f5aebbe679340c26101df33424142c143c"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1f79682fbe303db92bc2b1136016a38a42e835d932bab5b3b1bfcfbf0640e519"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b261ccdec7821281dade748d088bb6e9b69e6d15b30652b74cbbac25e280b796"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:122c7fa62b130ed55f8f285bfd56d5f4b4a5b503609d181f9ad85e55c89f4185"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:d0eccceffcb53201b5bfebb52600a5fb483a20b61da9dbc885f8b103cbe7598c"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:9f96df6923e21816da7e0ad3fd47dd8f94b2a5ce594e00677c0013018b813458"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:7f04c839ed0b6b98b1a7501a002144b76c18fb1c1850c8b98d458ac269e26ed2"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:34d1c8da1e78d2e001f363791c98a272bb734000fcef47a491c1e3b0505657a8"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:ff8fa367d09b717b2a17a052544193ad76cd49979c805768879cb63d9ca50561"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-win32.whl", hash = "sha256:aed38f6e4fb3f5d6bf81bfa990a07806be9d83cf7bacef998ab1a9bd660a581f"}, + {file = "charset_normalizer-3.3.2-cp39-cp39-win_amd64.whl", hash = "sha256:b01b88d45a6fcb69667cd6d2f7a9aeb4bf53760d7fc536bf679ec94fe9f3ff3d"}, + {file = "charset_normalizer-3.3.2-py3-none-any.whl", hash = "sha256:3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc"}, +] + +[[package]] +name = "click" +version = "8.1.7" +description = "Composable command line interface toolkit" +optional = false +python-versions = ">=3.7" +files = [ + {file = "click-8.1.7-py3-none-any.whl", hash = "sha256:ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28"}, + {file = "click-8.1.7.tar.gz", hash = "sha256:ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"}, +] + +[package.dependencies] +colorama = {version = "*", markers = "platform_system == \"Windows\""} + +[[package]] +name = "click-didyoumean" +version = "0.3.1" +description = "Enables git-like *did-you-mean* feature in click" +optional = false +python-versions = ">=3.6.2" +files = [ + {file = "click_didyoumean-0.3.1-py3-none-any.whl", hash = "sha256:5c4bb6007cfea5f2fd6583a2fb6701a22a41eb98957e63d0fac41c10e7c3117c"}, + {file = "click_didyoumean-0.3.1.tar.gz", hash = "sha256:4f82fdff0dbe64ef8ab2279bd6aa3f6a99c3b28c05aa09cbfc07c9d7fbb5a463"}, +] + +[package.dependencies] +click = ">=7" + +[[package]] +name = "click-plugins" +version = "1.1.1" +description = "An extension module for click to enable registering CLI commands via setuptools entry-points." +optional = false +python-versions = "*" +files = [ + {file = "click-plugins-1.1.1.tar.gz", hash = "sha256:46ab999744a9d831159c3411bb0c79346d94a444df9a3a3742e9ed63645f264b"}, + {file = "click_plugins-1.1.1-py2.py3-none-any.whl", hash = "sha256:5d262006d3222f5057fd81e1623d4443e41dcda5dc815c06b442aa3c02889fc8"}, +] + +[package.dependencies] +click = ">=4.0" + +[package.extras] +dev = ["coveralls", "pytest (>=3.6)", "pytest-cov", "wheel"] + +[[package]] +name = "click-repl" +version = "0.3.0" +description = "REPL plugin for Click" +optional = false +python-versions = ">=3.6" +files = [ + {file = "click-repl-0.3.0.tar.gz", hash = "sha256:17849c23dba3d667247dc4defe1757fff98694e90fe37474f3feebb69ced26a9"}, + {file = "click_repl-0.3.0-py3-none-any.whl", hash = "sha256:fb7e06deb8da8de86180a33a9da97ac316751c094c6899382da7feeeeb51b812"}, +] + +[package.dependencies] +click = ">=7.0" +prompt-toolkit = ">=3.0.36" + +[package.extras] +testing = ["pytest (>=7.2.1)", "pytest-cov (>=4.0.0)", "tox (>=4.4.3)"] + +[[package]] +name = "colorama" +version = "0.4.6" +description = "Cross-platform colored terminal text." +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" +files = [ + {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, + {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, +] + +[[package]] +name = "dill" +version = "0.3.8" +description = "serialize all of Python" +optional = false +python-versions = ">=3.8" +files = [ + {file = "dill-0.3.8-py3-none-any.whl", hash = "sha256:c36ca9ffb54365bdd2f8eb3eff7d2a21237f8452b57ace88b1ac615b7e815bd7"}, + {file = "dill-0.3.8.tar.gz", hash = "sha256:3ebe3c479ad625c4553aca177444d89b486b1d84982eeacded644afc0cf797ca"}, +] + +[package.extras] +graph = ["objgraph (>=1.7.2)"] +profile = ["gprof2dot (>=2022.7.29)"] + +[[package]] +name = "environs" +version = "11.0.0" +description = "simplified environment variable parsing" +optional = false +python-versions = ">=3.8" +files = [ + {file = "environs-11.0.0-py3-none-any.whl", hash = "sha256:e0bcfd41c718c07a7db422f9109e490746450da38793fe4ee197f397b9343435"}, + {file = "environs-11.0.0.tar.gz", hash = "sha256:069727a8f73d8ba8d033d3cd95c0da231d44f38f1da773bf076cef168d312ee8"}, +] + +[package.dependencies] +marshmallow = ">=3.13.0" +python-dotenv = "*" + +[package.extras] +dev = ["environs[tests]", "pre-commit (>=3.5,<4.0)", "tox"] +django = ["dj-database-url", "dj-email-url", "django-cache-url"] +tests = ["environs[django]", "pytest"] + +[[package]] +name = "flask" +version = "3.0.3" +description = "A simple framework for building complex web applications." +optional = false +python-versions = ">=3.8" +files = [ + {file = "flask-3.0.3-py3-none-any.whl", hash = "sha256:34e815dfaa43340d1d15a5c3a02b8476004037eb4840b34910c6e21679d288f3"}, + {file = "flask-3.0.3.tar.gz", hash = "sha256:ceb27b0af3823ea2737928a4d99d125a06175b8512c445cbd9a9ce200ef76842"}, +] + +[package.dependencies] +blinker = ">=1.6.2" +click = ">=8.1.3" +itsdangerous = ">=2.1.2" +Jinja2 = ">=3.1.2" +Werkzeug = ">=3.0.0" + +[package.extras] +async = ["asgiref (>=3.2)"] +dotenv = ["python-dotenv"] + +[[package]] +name = "flask-caching" +version = "2.3.0" +description = "Adds caching support to Flask applications." +optional = false +python-versions = ">=3.8" +files = [ + {file = "Flask_Caching-2.3.0-py3-none-any.whl", hash = "sha256:51771c75682e5abc1483b78b96d9131d7941dc669b073852edfa319dd4e29b6e"}, + {file = "flask_caching-2.3.0.tar.gz", hash = "sha256:d7e4ca64a33b49feb339fcdd17e6ba25f5e01168cf885e53790e885f83a4d2cf"}, +] + +[package.dependencies] +cachelib = ">=0.9.0,<0.10.0" +Flask = "*" + +[[package]] +name = "flask-moment" +version = "1.0.6" +description = "Formatting of dates and times in Flask templates using moment.js." +optional = false +python-versions = ">=3.6" +files = [ + {file = "Flask_Moment-1.0.6-py3-none-any.whl", hash = "sha256:3ae8baea20a41e99f457b9710ecd1368911dd5133f09a27583eb0dcb3491e31d"}, + {file = "flask_moment-1.0.6.tar.gz", hash = "sha256:2f8969907cbacde4a88319792e8f920ba5c9dd9d99ced2346cad563795302b88"}, +] + +[package.dependencies] +Flask = "*" +packaging = ">=14.1" + +[package.extras] +docs = ["sphinx"] + +[[package]] +name = "flask-restful" +version = "0.3.10" +description = "Simple framework for creating REST APIs" +optional = false +python-versions = "*" +files = [ + {file = "Flask-RESTful-0.3.10.tar.gz", hash = "sha256:fe4af2ef0027df8f9b4f797aba20c5566801b6ade995ac63b588abf1a59cec37"}, + {file = "Flask_RESTful-0.3.10-py2.py3-none-any.whl", hash = "sha256:1cf93c535172f112e080b0d4503a8d15f93a48c88bdd36dd87269bdaf405051b"}, +] + +[package.dependencies] +aniso8601 = ">=0.82" +Flask = ">=0.8" +pytz = "*" +six = ">=1.3.0" + +[package.extras] +docs = ["sphinx"] + +[[package]] +name = "flask-wtf" +version = "1.2.1" +description = "Form rendering, validation, and CSRF protection for Flask with WTForms." +optional = false +python-versions = ">=3.8" +files = [ + {file = "flask_wtf-1.2.1-py3-none-any.whl", hash = "sha256:fa6793f2fb7e812e0fe9743b282118e581fb1b6c45d414b8af05e659bd653287"}, + {file = "flask_wtf-1.2.1.tar.gz", hash = "sha256:8bb269eb9bb46b87e7c8233d7e7debdf1f8b74bf90cc1789988c29b37a97b695"}, +] + +[package.dependencies] +flask = "*" +itsdangerous = "*" +wtforms = "*" + +[package.extras] +email = ["email-validator"] + +[[package]] +name = "github-flask" +version = "3.2.0" +description = "GitHub extension for Flask microframework" +optional = false +python-versions = "*" +files = [ + {file = "GitHub-Flask-3.2.0.tar.gz", hash = "sha256:24600b720f698bac10667b76b136995ba7821d884e58b27e2a18ca0e4760c786"}, +] + +[package.dependencies] +Flask = "*" +requests = "*" + +[[package]] +name = "idna" +version = "3.7" +description = "Internationalized Domain Names in Applications (IDNA)" +optional = false +python-versions = ">=3.5" +files = [ + {file = "idna-3.7-py3-none-any.whl", hash = "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0"}, + {file = "idna-3.7.tar.gz", hash = "sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"}, +] + +[[package]] +name = "isodate" +version = "0.6.1" +description = "An ISO 8601 date/time/duration parser and formatter" +optional = false +python-versions = "*" +files = [ + {file = "isodate-0.6.1-py2.py3-none-any.whl", hash = "sha256:0751eece944162659049d35f4f549ed815792b38793f07cf73381c1c87cbed96"}, + {file = "isodate-0.6.1.tar.gz", hash = "sha256:48c5881de7e8b0a0d648cb024c8062dc84e7b840ed81e864c7614fd3c127bde9"}, +] + +[package.dependencies] +six = "*" + +[[package]] +name = "isort" +version = "5.13.2" +description = "A Python utility / library to sort Python imports." +optional = false +python-versions = ">=3.8.0" +files = [ + {file = "isort-5.13.2-py3-none-any.whl", hash = "sha256:8ca5e72a8d85860d5a3fa69b8745237f2939afe12dbf656afbcb47fe72d947a6"}, + {file = "isort-5.13.2.tar.gz", hash = "sha256:48fdfcb9face5d58a4f6dde2e72a1fb8dcaf8ab26f95ab49fab84c2ddefb0109"}, +] + +[package.extras] +colors = ["colorama (>=0.4.6)"] + +[[package]] +name = "itsdangerous" +version = "2.2.0" +description = "Safely pass data to untrusted environments and back." +optional = false +python-versions = ">=3.8" +files = [ + {file = "itsdangerous-2.2.0-py3-none-any.whl", hash = "sha256:c6242fc49e35958c8b15141343aa660db5fc54d4f13a1db01a3f5891b98700ef"}, + {file = "itsdangerous-2.2.0.tar.gz", hash = "sha256:e0050c0b7da1eea53ffaf149c0cfbb5c6e2e2b69c4bef22c81fa6eb73e5f6173"}, +] + +[[package]] +name = "jinja2" +version = "3.1.4" +description = "A very fast and expressive template engine." +optional = false +python-versions = ">=3.7" +files = [ + {file = "jinja2-3.1.4-py3-none-any.whl", hash = "sha256:bc5dd2abb727a5319567b7a813e6a2e7318c39f4f487cfe6c89c6f9c7d25197d"}, + {file = "jinja2-3.1.4.tar.gz", hash = "sha256:4a3aee7acbbe7303aede8e9648d13b8bf88a429282aa6122a993f0ac800cb369"}, +] + +[package.dependencies] +MarkupSafe = ">=2.0" + +[package.extras] +i18n = ["Babel (>=2.7)"] + +[[package]] +name = "kombu" +version = "5.4.0" +description = "Messaging library for Python." +optional = false +python-versions = ">=3.8" +files = [ + {file = "kombu-5.4.0-py3-none-any.whl", hash = "sha256:c8dd99820467610b4febbc7a9e8a0d3d7da2d35116b67184418b51cc520ea6b6"}, + {file = "kombu-5.4.0.tar.gz", hash = "sha256:ad200a8dbdaaa2bbc5f26d2ee7d707d9a1fded353a0f4bd751ce8c7d9f449c60"}, +] + +[package.dependencies] +amqp = ">=5.1.1,<6.0.0" +vine = "5.1.0" + +[package.extras] +azureservicebus = ["azure-servicebus (>=7.10.0)"] +azurestoragequeues = ["azure-identity (>=1.12.0)", "azure-storage-queue (>=12.6.0)"] +confluentkafka = ["confluent-kafka (>=2.2.0)"] +consul = ["python-consul2 (==0.1.5)"] +librabbitmq = ["librabbitmq (>=2.0.0)"] +mongodb = ["pymongo (>=4.1.1)"] +msgpack = ["msgpack (==1.0.8)"] +pyro = ["pyro4 (==4.82)"] +qpid = ["qpid-python (>=0.26)", "qpid-tools (>=0.26)"] +redis = ["redis (>=4.5.2,!=4.5.5,!=5.0.2)"] +slmq = ["softlayer-messaging (>=1.0.3)"] +sqlalchemy = ["sqlalchemy (>=1.4.48,<2.1)"] +sqs = ["boto3 (>=1.26.143)", "pycurl (>=7.43.0.5)", "urllib3 (>=1.26.16)"] +yaml = ["PyYAML (>=3.10)"] +zookeeper = ["kazoo (>=2.8.0)"] + +[[package]] +name = "markupsafe" +version = "2.1.5" +description = "Safely add untrusted strings to HTML/XML markup." +optional = false +python-versions = ">=3.7" +files = [ + {file = "MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a17a92de5231666cfbe003f0e4b9b3a7ae3afb1ec2845aadc2bacc93ff85febc"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:72b6be590cc35924b02c78ef34b467da4ba07e4e0f0454a2c5907f473fc50ce5"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e61659ba32cf2cf1481e575d0462554625196a1f2fc06a1c777d3f48e8865d46"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2174c595a0d73a3080ca3257b40096db99799265e1c27cc5a610743acd86d62f"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ae2ad8ae6ebee9d2d94b17fb62763125f3f374c25618198f40cbb8b525411900"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:075202fa5b72c86ad32dc7d0b56024ebdbcf2048c0ba09f1cde31bfdd57bcfff"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:598e3276b64aff0e7b3451b72e94fa3c238d452e7ddcd893c3ab324717456bad"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:fce659a462a1be54d2ffcacea5e3ba2d74daa74f30f5f143fe0c58636e355fdd"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-win32.whl", hash = "sha256:d9fad5155d72433c921b782e58892377c44bd6252b5af2f67f16b194987338a4"}, + {file = "MarkupSafe-2.1.5-cp310-cp310-win_amd64.whl", hash = "sha256:bf50cd79a75d181c9181df03572cdce0fbb75cc353bc350712073108cba98de5"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:629ddd2ca402ae6dbedfceeba9c46d5f7b2a61d9749597d4307f943ef198fc1f"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:5b7b716f97b52c5a14bffdf688f971b2d5ef4029127f1ad7a513973cfd818df2"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6ec585f69cec0aa07d945b20805be741395e28ac1627333b1c5b0105962ffced"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b91c037585eba9095565a3556f611e3cbfaa42ca1e865f7b8015fe5c7336d5a5"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7502934a33b54030eaf1194c21c692a534196063db72176b0c4028e140f8f32c"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:0e397ac966fdf721b2c528cf028494e86172b4feba51d65f81ffd65c63798f3f"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:c061bb86a71b42465156a3ee7bd58c8c2ceacdbeb95d05a99893e08b8467359a"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:3a57fdd7ce31c7ff06cdfbf31dafa96cc533c21e443d57f5b1ecc6cdc668ec7f"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-win32.whl", hash = "sha256:397081c1a0bfb5124355710fe79478cdbeb39626492b15d399526ae53422b906"}, + {file = "MarkupSafe-2.1.5-cp311-cp311-win_amd64.whl", hash = "sha256:2b7c57a4dfc4f16f7142221afe5ba4e093e09e728ca65c51f5620c9aaeb9a617"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:8dec4936e9c3100156f8a2dc89c4b88d5c435175ff03413b443469c7c8c5f4d1"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:3c6b973f22eb18a789b1460b4b91bf04ae3f0c4234a0a6aa6b0a92f6f7b951d4"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ac07bad82163452a6884fe8fa0963fb98c2346ba78d779ec06bd7a6262132aee"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f5dfb42c4604dddc8e4305050aa6deb084540643ed5804d7455b5df8fe16f5e5"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ea3d8a3d18833cf4304cd2fc9cbb1efe188ca9b5efef2bdac7adc20594a0e46b"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:d050b3361367a06d752db6ead6e7edeb0009be66bc3bae0ee9d97fb326badc2a"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:bec0a414d016ac1a18862a519e54b2fd0fc8bbfd6890376898a6c0891dd82e9f"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:58c98fee265677f63a4385256a6d7683ab1832f3ddd1e66fe948d5880c21a169"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-win32.whl", hash = "sha256:8590b4ae07a35970728874632fed7bd57b26b0102df2d2b233b6d9d82f6c62ad"}, + {file = "MarkupSafe-2.1.5-cp312-cp312-win_amd64.whl", hash = "sha256:823b65d8706e32ad2df51ed89496147a42a2a6e01c13cfb6ffb8b1e92bc910bb"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:c8b29db45f8fe46ad280a7294f5c3ec36dbac9491f2d1c17345be8e69cc5928f"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ec6a563cff360b50eed26f13adc43e61bc0c04d94b8be985e6fb24b81f6dcfdf"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a549b9c31bec33820e885335b451286e2969a2d9e24879f83fe904a5ce59d70a"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4f11aa001c540f62c6166c7726f71f7573b52c68c31f014c25cc7901deea0b52"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:7b2e5a267c855eea6b4283940daa6e88a285f5f2a67f2220203786dfa59b37e9"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:2d2d793e36e230fd32babe143b04cec8a8b3eb8a3122d2aceb4a371e6b09b8df"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:ce409136744f6521e39fd8e2a24c53fa18ad67aa5bc7c2cf83645cce5b5c4e50"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-win32.whl", hash = "sha256:4096e9de5c6fdf43fb4f04c26fb114f61ef0bf2e5604b6ee3019d51b69e8c371"}, + {file = "MarkupSafe-2.1.5-cp37-cp37m-win_amd64.whl", hash = "sha256:4275d846e41ecefa46e2015117a9f491e57a71ddd59bbead77e904dc02b1bed2"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:656f7526c69fac7f600bd1f400991cc282b417d17539a1b228617081106feb4a"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:97cafb1f3cbcd3fd2b6fbfb99ae11cdb14deea0736fc2b0952ee177f2b813a46"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f3fbcb7ef1f16e48246f704ab79d79da8a46891e2da03f8783a5b6fa41a9532"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fa9db3f79de01457b03d4f01b34cf91bc0048eb2c3846ff26f66687c2f6d16ab"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ffee1f21e5ef0d712f9033568f8344d5da8cc2869dbd08d87c84656e6a2d2f68"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:5dedb4db619ba5a2787a94d877bc8ffc0566f92a01c0ef214865e54ecc9ee5e0"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:30b600cf0a7ac9234b2638fbc0fb6158ba5bdcdf46aeb631ead21248b9affbc4"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:8dd717634f5a044f860435c1d8c16a270ddf0ef8588d4887037c5028b859b0c3"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-win32.whl", hash = "sha256:daa4ee5a243f0f20d528d939d06670a298dd39b1ad5f8a72a4275124a7819eff"}, + {file = "MarkupSafe-2.1.5-cp38-cp38-win_amd64.whl", hash = "sha256:619bc166c4f2de5caa5a633b8b7326fbe98e0ccbfacabd87268a2b15ff73a029"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:7a68b554d356a91cce1236aa7682dc01df0edba8d043fd1ce607c49dd3c1edcf"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:db0b55e0f3cc0be60c1f19efdde9a637c32740486004f20d1cff53c3c0ece4d2"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3e53af139f8579a6d5f7b76549125f0d94d7e630761a2111bc431fd820e163b8"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:17b950fccb810b3293638215058e432159d2b71005c74371d784862b7e4683f3"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4c31f53cdae6ecfa91a77820e8b151dba54ab528ba65dfd235c80b086d68a465"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:bff1b4290a66b490a2f4719358c0cdcd9bafb6b8f061e45c7a2460866bf50c2e"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:bc1667f8b83f48511b94671e0e441401371dfd0f0a795c7daa4a3cd1dde55bea"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5049256f536511ee3f7e1b3f87d1d1209d327e818e6ae1365e8653d7e3abb6a6"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-win32.whl", hash = "sha256:00e046b6dd71aa03a41079792f8473dc494d564611a8f89bbbd7cb93295ebdcf"}, + {file = "MarkupSafe-2.1.5-cp39-cp39-win_amd64.whl", hash = "sha256:fa173ec60341d6bb97a89f5ea19c85c5643c1e7dedebc22f5181eb73573142c5"}, + {file = "MarkupSafe-2.1.5.tar.gz", hash = "sha256:d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b"}, +] + +[[package]] +name = "marshmallow" +version = "3.21.3" +description = "A lightweight library for converting complex datatypes to and from native Python datatypes." +optional = false +python-versions = ">=3.8" +files = [ + {file = "marshmallow-3.21.3-py3-none-any.whl", hash = "sha256:86ce7fb914aa865001a4b2092c4c2872d13bc347f3d42673272cabfdbad386f1"}, + {file = "marshmallow-3.21.3.tar.gz", hash = "sha256:4f57c5e050a54d66361e826f94fba213eb10b67b2fdb02c3e0343ce207ba1662"}, +] + +[package.dependencies] +packaging = ">=17.0" + +[package.extras] +dev = ["marshmallow[tests]", "pre-commit (>=3.5,<4.0)", "tox"] +docs = ["alabaster (==0.7.16)", "autodocsumm (==0.2.12)", "sphinx (==7.3.7)", "sphinx-issues (==4.1.0)", "sphinx-version-warning (==1.1.2)"] +tests = ["pytest", "pytz", "simplejson"] + +[[package]] +name = "mccabe" +version = "0.7.0" +description = "McCabe checker, plugin for flake8" +optional = false +python-versions = ">=3.6" +files = [ + {file = "mccabe-0.7.0-py2.py3-none-any.whl", hash = "sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e"}, + {file = "mccabe-0.7.0.tar.gz", hash = "sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325"}, +] + +[[package]] +name = "packaging" +version = "24.1" +description = "Core utilities for Python packages" +optional = false +python-versions = ">=3.8" +files = [ + {file = "packaging-24.1-py3-none-any.whl", hash = "sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124"}, + {file = "packaging-24.1.tar.gz", hash = "sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002"}, +] + +[[package]] +name = "pep8" +version = "1.7.1" +description = "Python style guide checker" +optional = false +python-versions = "*" +files = [ + {file = "pep8-1.7.1-py2.py3-none-any.whl", hash = "sha256:b22cfae5db09833bb9bd7c8463b53e1a9c9b39f12e304a8d0bba729c501827ee"}, + {file = "pep8-1.7.1.tar.gz", hash = "sha256:fe249b52e20498e59e0b5c5256aa52ee99fc295b26ec9eaa85776ffdb9fe6374"}, +] + +[[package]] +name = "platformdirs" +version = "4.2.2" +description = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`." +optional = false +python-versions = ">=3.8" +files = [ + {file = "platformdirs-4.2.2-py3-none-any.whl", hash = "sha256:2d7a1657e36a80ea911db832a8a6ece5ee53d8de21edd5cc5879af6530b1bfee"}, + {file = "platformdirs-4.2.2.tar.gz", hash = "sha256:38b7b51f512eed9e84a22788b4bce1de17c0adb134d6becb09836e37d8654cd3"}, +] + +[package.extras] +docs = ["furo (>=2023.9.10)", "proselint (>=0.13)", "sphinx (>=7.2.6)", "sphinx-autodoc-typehints (>=1.25.2)"] +test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.4.3)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)"] +type = ["mypy (>=1.8)"] + +[[package]] +name = "prompt-toolkit" +version = "3.0.47" +description = "Library for building powerful interactive command lines in Python" +optional = false +python-versions = ">=3.7.0" +files = [ + {file = "prompt_toolkit-3.0.47-py3-none-any.whl", hash = "sha256:0d7bfa67001d5e39d02c224b663abc33687405033a8c422d0d675a5a13361d10"}, + {file = "prompt_toolkit-3.0.47.tar.gz", hash = "sha256:1e1b29cb58080b1e69f207c893a1a7bf16d127a5c30c9d17a25a5d77792e5360"}, +] + +[package.dependencies] +wcwidth = "*" + +[[package]] +name = "pylibmc" +version = "1.6.3" +description = "Quick and small memcached client for Python" +optional = false +python-versions = ">=3.6" +files = [ + {file = "pylibmc-1.6.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:a7baf4b78720f8b72839b3642b374754cb77cf57dab465a70ed1764d943e19d5"}, + {file = "pylibmc-1.6.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:dd98054a571bd450200a61a12b9ada3424678d17a25456bbf9a6100470401e52"}, + {file = "pylibmc-1.6.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e847cdc78d82964236599ff5b312bc97fde3d10f4b93c9ee17dc33b7cf3c032a"}, + {file = "pylibmc-1.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4f46b5aa0364bca5e02000f5d62eb408d834a20722ffaf7dae20f75e7d009e6c"}, + {file = "pylibmc-1.6.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3c35816082848723455071670770d89b5a531d40e9063fe4e942ea456f86da49"}, + {file = "pylibmc-1.6.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9d2ff6d702eb5ae502e29d97772dc85c749d596c6cb8c82a5d18f175fd4eabcc"}, + {file = "pylibmc-1.6.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e589b7e70dec4daf0da1216789713c753d85611d70cfcd32574161cc75b1527e"}, + {file = "pylibmc-1.6.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7b93e381dec1520a3fec922765e04679ac553d2f3fda830a5faa7cdc527280a2"}, + {file = "pylibmc-1.6.3-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:f2574f390a2ec89b52a84bccca3ae57c21a4bb4d0e72df210d0d66783eee7f98"}, + {file = "pylibmc-1.6.3-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:db8c0f0467182a2a3e8d625b5c60c296f971dd2ee179e865b0262bd44528d676"}, + {file = "pylibmc-1.6.3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b34c1e4021b9a395950be19ea9d98f02bea0e3a88be26dbaa7e8ac4416e1232b"}, + {file = "pylibmc-1.6.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:a6cce1d7705952eb30a3aca9ea3f054040cbee53c668d4e1e29144110da113bc"}, + {file = "pylibmc-1.6.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c6c4bdd8790aede67a464a32df842cacb562f77b0415a8c7823421f5c07524c6"}, + {file = "pylibmc-1.6.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:218125aca214d62e6f69e4f8022bd795fbcb3643ad783f5f5ff33c23a1731c73"}, + {file = "pylibmc-1.6.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:f536d73632007358796654ab088d65c55a1a4368a85cfd7c956d2100e2cd8d89"}, + {file = "pylibmc-1.6.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:f2aeff000de7d918806876dfa4880d21b72089f9809ad0b8e7dff26501367ec6"}, + {file = "pylibmc-1.6.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e9ef3dc70ee2dfd0981bdf3a383a044bc591de7e445296a64a24f10a560e8b4f"}, + {file = "pylibmc-1.6.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b649eb7fdd774290b2da73334456eb01e0d66e3d3685acd88ae6bf456a227dc6"}, + {file = "pylibmc-1.6.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:5251df82535411d8dc08c01141b8e6e61004f0a3ee50db3aa48ffa00e928cebb"}, + {file = "pylibmc-1.6.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:cd61f1ff46aa1ca6b0b3dac17a727cd29ac019e85db868c5523c491eef4459d7"}, + {file = "pylibmc-1.6.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7660c561e5415f4be01ff4791c1b035359c1d76fed012e18eee907c2d3249deb"}, + {file = "pylibmc-1.6.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9f4516a14b2beff6062d1d240c00098227ca5478c00afba7e8b329415b0d4d67"}, + {file = "pylibmc-1.6.3.tar.gz", hash = "sha256:eefa46115537abad65fbe2e032acd1b3463d9bf9e335af4b0916df4e4d3206e0"}, +] + +[[package]] +name = "pylint" +version = "3.2.6" +description = "python code static checker" +optional = false +python-versions = ">=3.8.0" +files = [ + {file = "pylint-3.2.6-py3-none-any.whl", hash = "sha256:03c8e3baa1d9fb995b12c1dbe00aa6c4bcef210c2a2634374aedeb22fb4a8f8f"}, + {file = "pylint-3.2.6.tar.gz", hash = "sha256:a5d01678349454806cff6d886fb072294f56a58c4761278c97fb557d708e1eb3"}, +] + +[package.dependencies] +astroid = ">=3.2.4,<=3.3.0-dev0" +colorama = {version = ">=0.4.5", markers = "sys_platform == \"win32\""} +dill = {version = ">=0.3.7", markers = "python_version >= \"3.12\""} +isort = ">=4.2.5,<5.13.0 || >5.13.0,<6" +mccabe = ">=0.6,<0.8" +platformdirs = ">=2.2.0" +tomlkit = ">=0.10.1" + +[package.extras] +spelling = ["pyenchant (>=3.2,<4.0)"] +testutils = ["gitpython (>3)"] + +[[package]] +name = "pyparsing" +version = "3.1.2" +description = "pyparsing module - Classes and methods to define and execute parsing grammars" +optional = false +python-versions = ">=3.6.8" +files = [ + {file = "pyparsing-3.1.2-py3-none-any.whl", hash = "sha256:f9db75911801ed778fe61bb643079ff86601aca99fcae6345aa67292038fb742"}, + {file = "pyparsing-3.1.2.tar.gz", hash = "sha256:a1bac0ce561155ecc3ed78ca94d3c9378656ad4c94c1270de543f621420f94ad"}, +] + +[package.extras] +diagrams = ["jinja2", "railroad-diagrams"] + +[[package]] +name = "python-dateutil" +version = "2.9.0.post0" +description = "Extensions to the standard Python datetime module" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" +files = [ + {file = "python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3"}, + {file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"}, +] + +[package.dependencies] +six = ">=1.5" + +[[package]] +name = "python-dotenv" +version = "1.0.1" +description = "Read key-value pairs from a .env file and set them as environment variables" +optional = false +python-versions = ">=3.8" +files = [ + {file = "python-dotenv-1.0.1.tar.gz", hash = "sha256:e324ee90a023d808f1959c46bcbc04446a10ced277783dc6ee09987c37ec10ca"}, + {file = "python_dotenv-1.0.1-py3-none-any.whl", hash = "sha256:f7b63ef50f1b690dddf550d03497b66d609393b40b564ed0d674909a68ebf16a"}, +] + +[package.extras] +cli = ["click (>=5.0)"] + +[[package]] +name = "python-slugify" +version = "8.0.4" +description = "A Python slugify application that also handles Unicode" +optional = false +python-versions = ">=3.7" +files = [ + {file = "python-slugify-8.0.4.tar.gz", hash = "sha256:59202371d1d05b54a9e7720c5e038f928f45daaffe41dd10822f3907b937c856"}, + {file = "python_slugify-8.0.4-py2.py3-none-any.whl", hash = "sha256:276540b79961052b66b7d116620b36518847f52d5fd9e3a70164fc8c50faa6b8"}, +] + +[package.dependencies] +text-unidecode = ">=1.3" + +[package.extras] +unidecode = ["Unidecode (>=1.1.1)"] + +[[package]] +name = "pytz" +version = "2024.1" +description = "World timezone definitions, modern and historical" +optional = false +python-versions = "*" +files = [ + {file = "pytz-2024.1-py2.py3-none-any.whl", hash = "sha256:328171f4e3623139da4983451950b28e95ac706e13f3f2630a879749e7a8b319"}, + {file = "pytz-2024.1.tar.gz", hash = "sha256:2a29735ea9c18baf14b448846bde5a48030ed267578472d8955cd0e7443a9812"}, +] + +[[package]] +name = "rdflib" +version = "7.0.0" +description = "RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information." +optional = false +python-versions = ">=3.8.1,<4.0.0" +files = [ + {file = "rdflib-7.0.0-py3-none-any.whl", hash = "sha256:0438920912a642c866a513de6fe8a0001bd86ef975057d6962c79ce4771687cd"}, + {file = "rdflib-7.0.0.tar.gz", hash = "sha256:9995eb8569428059b8c1affd26b25eac510d64f5043d9ce8c84e0d0036e995ae"}, +] + +[package.dependencies] +isodate = ">=0.6.0,<0.7.0" +pyparsing = ">=2.1.0,<4" + +[package.extras] +berkeleydb = ["berkeleydb (>=18.1.0,<19.0.0)"] +html = ["html5lib (>=1.0,<2.0)"] +lxml = ["lxml (>=4.3.0,<5.0.0)"] +networkx = ["networkx (>=2.0.0,<3.0.0)"] + +[[package]] +name = "requests" +version = "2.32.3" +description = "Python HTTP for Humans." +optional = false +python-versions = ">=3.8" +files = [ + {file = "requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6"}, + {file = "requests-2.32.3.tar.gz", hash = "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760"}, +] + +[package.dependencies] +certifi = ">=2017.4.17" +charset-normalizer = ">=2,<4" +idna = ">=2.5,<4" +urllib3 = ">=1.21.1,<3" + +[package.extras] +socks = ["PySocks (>=1.5.6,!=1.5.7)"] +use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] + +[[package]] +name = "six" +version = "1.16.0" +description = "Python 2 and 3 compatibility utilities" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" +files = [ + {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, + {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, +] + +[[package]] +name = "text-unidecode" +version = "1.3" +description = "The most basic Text::Unidecode port" +optional = false +python-versions = "*" +files = [ + {file = "text-unidecode-1.3.tar.gz", hash = "sha256:bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93"}, + {file = "text_unidecode-1.3-py2.py3-none-any.whl", hash = "sha256:1311f10e8b895935241623731c2ba64f4c455287888b18189350b67134a822e8"}, +] + +[[package]] +name = "tomlkit" +version = "0.13.0" +description = "Style preserving TOML library" +optional = false +python-versions = ">=3.8" +files = [ + {file = "tomlkit-0.13.0-py3-none-any.whl", hash = "sha256:7075d3042d03b80f603482d69bf0c8f345c2b30e41699fd8883227f89972b264"}, + {file = "tomlkit-0.13.0.tar.gz", hash = "sha256:08ad192699734149f5b97b45f1f18dad7eb1b6d16bc72ad0c2335772650d7b72"}, +] + +[[package]] +name = "tzdata" +version = "2024.1" +description = "Provider of IANA time zone data" +optional = false +python-versions = ">=2" +files = [ + {file = "tzdata-2024.1-py2.py3-none-any.whl", hash = "sha256:9068bc196136463f5245e51efda838afa15aaeca9903f49050dfa2679db4d252"}, + {file = "tzdata-2024.1.tar.gz", hash = "sha256:2674120f8d891909751c38abcdfd386ac0a5a1127954fbc332af6b5ceae07efd"}, +] + +[[package]] +name = "unidecode" +version = "1.3.8" +description = "ASCII transliterations of Unicode text" +optional = false +python-versions = ">=3.5" +files = [ + {file = "Unidecode-1.3.8-py3-none-any.whl", hash = "sha256:d130a61ce6696f8148a3bd8fe779c99adeb4b870584eeb9526584e9aa091fd39"}, + {file = "Unidecode-1.3.8.tar.gz", hash = "sha256:cfdb349d46ed3873ece4586b96aa75258726e2fa8ec21d6f00a591d98806c2f4"}, +] + +[[package]] +name = "urllib3" +version = "2.2.2" +description = "HTTP library with thread-safe connection pooling, file post, and more." +optional = false +python-versions = ">=3.8" +files = [ + {file = "urllib3-2.2.2-py3-none-any.whl", hash = "sha256:a448b2f64d686155468037e1ace9f2d2199776e17f0a46610480d311f73e3472"}, + {file = "urllib3-2.2.2.tar.gz", hash = "sha256:dd505485549a7a552833da5e6063639d0d177c04f23bc3864e41e5dc5f612168"}, +] + +[package.extras] +brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] +h2 = ["h2 (>=4,<5)"] +socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] +zstd = ["zstandard (>=0.18.0)"] + +[[package]] +name = "uwsgi" +version = "2.0.26" +description = "The uWSGI server" +optional = false +python-versions = "*" +files = [ + {file = "uwsgi-2.0.26.tar.gz", hash = "sha256:86e6bfcd4dc20529665f5b7777193cdc48622fb2c59f0a7f1e3dc32b3882e7f9"}, +] + +[[package]] +name = "vine" +version = "5.1.0" +description = "Python promises." +optional = false +python-versions = ">=3.6" +files = [ + {file = "vine-5.1.0-py3-none-any.whl", hash = "sha256:40fdf3c48b2cfe1c38a49e9ae2da6fda88e4794c810050a728bd7413811fb1dc"}, + {file = "vine-5.1.0.tar.gz", hash = "sha256:8b62e981d35c41049211cf62a0a1242d8c1ee9bd15bb196ce38aefd6799e61e0"}, +] + +[[package]] +name = "wcwidth" +version = "0.2.13" +description = "Measures the displayed width of unicode strings in a terminal" +optional = false +python-versions = "*" +files = [ + {file = "wcwidth-0.2.13-py2.py3-none-any.whl", hash = "sha256:3da69048e4540d84af32131829ff948f1e022c1c6bdb8d6102117aac784f6859"}, + {file = "wcwidth-0.2.13.tar.gz", hash = "sha256:72ea0c06399eb286d978fdedb6923a9eb47e1c486ce63e9b4e64fc18303972b5"}, +] + +[[package]] +name = "werkzeug" +version = "3.0.3" +description = "The comprehensive WSGI web application library." +optional = false +python-versions = ">=3.8" +files = [ + {file = "werkzeug-3.0.3-py3-none-any.whl", hash = "sha256:fc9645dc43e03e4d630d23143a04a7f947a9a3b5727cd535fdfe155a17cc48c8"}, + {file = "werkzeug-3.0.3.tar.gz", hash = "sha256:097e5bfda9f0aba8da6b8545146def481d06aa7d3266e7448e2cccf67dd8bd18"}, +] + +[package.dependencies] +MarkupSafe = ">=2.1.1" + +[package.extras] +watchdog = ["watchdog (>=2.3)"] + +[[package]] +name = "wtforms" +version = "3.1.2" +description = "Form validation and rendering for Python web development." +optional = false +python-versions = ">=3.8" +files = [ + {file = "wtforms-3.1.2-py3-none-any.whl", hash = "sha256:bf831c042829c8cdbad74c27575098d541d039b1faa74c771545ecac916f2c07"}, + {file = "wtforms-3.1.2.tar.gz", hash = "sha256:f8d76180d7239c94c6322f7990ae1216dae3659b7aa1cee94b6318bdffb474b9"}, +] + +[package.dependencies] +markupsafe = "*" + +[package.extras] +email = ["email-validator"] + +[metadata] +lock-version = "2.0" +python-versions = "^3.12" +content-hash = "b8d6339fe63d8928e8b202f7346cc1f93732eacd84eb1a0822305d756458fab2" diff -r 26faef513d90 -r 640fb0f13022 src/pyproject.toml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/pyproject.toml Wed Aug 14 22:08:14 2024 +0200 @@ -0,0 +1,38 @@ +[tool.poetry] +name = "catedit" +version = "0.2.7" +description = "Collaboratice category editor" +authors = ["Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>"] +license = "CeCILL-B" +readme = "README.md" + +[tool.poetry.dependencies] +python = "^3.12" +amqp = "*" +celery = "*" +environs = "*" +Flask = "*" +Flask-Caching = "*" +Flask-Moment = "*" +Flask-RESTful = "*" +Flask-WTF = "*" +GitHub-Flask = "*" +Jinja2 = "*" +kombu = "*" +python-slugify = "*" +pytz = "*" +rdflib = "*" +requests = "*" +Unidecode = "*" +Werkzeug = "*" +WTForms = "*" +uWSGI = "*" +pylibmc = "*" + +[tool.poetry.group.dev.dependencies] +pep8 = "*" +pylint = "*" + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api"